package br.ufrn.btest.script;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class Stringfy {

	public static void main(String[] args) {
		File fileToStringfy = new File("/Users/ernestocid/Desktop/Stringfy.txt");
		
		System.out.println(fileToStringfy.getParent());
		
		try {
			BufferedReader br = new BufferedReader(new FileReader(fileToStringfy));
			String line = "";
			
			while((line = br.readLine()) != null) {
				System.out.println("\"" + line + "\" + " + "\"\\n\"" + " +");
			}
			
			System.out.println("\"\"" + ";");
			
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	
}
